package labox.innovation.gameserver.network.clientpackets;

import labox.innovation.gameserver.network.serverpackets.TestServerPacket;

public class TestClientPacket extends L2GameClientPacket {

	private final static String _C_TESTCLIENTPACKET = "_c_TestClientPacket";

	
	
	@Override
	public String getType() {
		return _C_TESTCLIENTPACKET;
	}

	private int friendId;
	@Override
	protected void readImpl() {
		friendId = readInt();
	}

	@Override
	protected void runImpl() {
		System.out.println(" client-->server : friendId "+ friendId);
		sendPacket(new TestServerPacket(friendId));
	}

}
